package com.woniuxy.profile.service;

import com.woniuxy.commons.dto.ProfileDto;
import com.woniuxy.commons.entity.PageBean;
import com.woniuxy.commons.entity.Profile;

import java.util.List;

/**
 * @Author: dengzj
 * @Description:
 * @Date: Created in 14:41 2020/7/28
 */
public interface ProfileService {
    int insertProfile(Profile profile);
    Profile findProfileByUid(int uid);
    int updateProfile(Profile profile);
    int deleteProfile(int uid);
    PageBean<Profile> findProfileByCondition(ProfileDto profileDto, int page);
    int deleteProfileBatch(int[] batch);
}
